
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 DmsNetworkLockRule 分页列表
*/
export function getDmsNetworkLockRulePagination(data: any) {
  return axios.get(`${context}/dmsNetworkLockRule/pagination`, { params: data });
}


/**
 * 获取 DmsNetworkLockRule 所有数据
*/
export function getDmsNetworkLockRuleAllList(data: any) {
  return axios.get(`${context}/dmsNetworkLockRule/all`, { params: data });
}


/**
 * 获取 DmsNetworkLockRule 详情
*/
export function getDmsNetworkLockRuleDetailById(id: any) {
  return axios.get(`${context}/dmsNetworkLockRule/${id}`, { params:{id} });
}


/**
 * 新增 DmsNetworkLockRule
*/
export function addDmsNetworkLockRule(data: any) {
  return axios.post(`${context}/dmsNetworkLockRule`, data);
}

/**
 * 修改 DmsNetworkLockRule
*/
export function updateDmsNetworkLockRule(data: any) {
  return axios.put(`${context}/dmsNetworkLockRule`, data);
}

/**
 * 删除 DmsNetworkLockRule
*/
export function batchRemoveDmsNetworkLockRule(data: any) {
  return axios.post(`${context}/dmsNetworkLockRule/batchRemove`, data);
}

    